package com.gaussian.property.module.biz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * ics项目维度指标每月汇总
 * </p>
 *
 * @author songqi(13776346982)
 * @since 2024-10-03
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_item_monthly_statistics")
public class MonthlyStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 统计月份
     */
    private String statisticsMonth;

    /**
     * 项目ID
     */
    private Integer itemId;

    /**
     * 项目名称
     */
    private String itemName;

    /**
     * 打卡出勤人数
     */
    private Integer clockAttendanceCrewCount;

    /**
     * 缺岗人数
     */
    private Integer vacantPosCrewCount;

    /**
     * 超龄人数
     */
    private Integer overageCrewCount;

    /**
     * 怠工次数
     */
    private Integer slowDownCount;

    /**
     * 聚岗次数
     */
    private Integer gatherPosCount;

    /**
     * 脱岗次数
     */
    private Integer leavePosCount;

    /**
     * 串岗次数
     */
    private Integer gadPosCount;

    /**
     * 离场次数
     */
    private Integer leaveSiteCount;

    /**
     * 风险区数量
     */
    private Integer riskAreaCount;

    /**
     * 巡检覆盖率
     */
    private Double inspectCoverRate;

    /**
     * 巡检工单不合格数量
     */
    private Integer inspectOrderBelowstdCount;

    /**
     * 机器人日清工单数量
     */
    private Integer robotCleanOrderCount;

    /**
     * 机器人运行未达标数量
     */
    private Integer robotRunDownstdCount;

    /**
     * 总怠工扣款金额
     */
    private Double totalSlowDownDeductAmount;

    /**
     * 总聚岗扣款金额
     */
    private Double totalGatherPosDeductAmount;

    /**
     * 总脱岗扣款金额
     */
    private Double totalLeavePosDeductAmount;

    /**
     * 总串岗扣款金额
     */
    private Double totalGadPosDeductAmount;

    /**
     * 总离场扣款金额
     */
    private Double totalLeaveSiteDeductAmount;

    /**
     * 总缺岗扣款金额
     */
    private Double totalVacantPosDeductAmount;

    /**
     * 总超龄扣款金额
     */
    private Double totalOverageDeductAmount;

    /**
     * 总风险区扣款金额
     */
    private Double totalRiskAreaDeductAmount;

    /**
     * 总巡检覆盖扣款金额
     */
    private Double totalInspectCoverDeductAmount;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

}
